package com.woniu.order.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 杜岷芫
 * @since 2024年07月12日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("goods_order_evaluation")
public class GoodsOrderEvaluation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品订单评价id
     */
    @TableId(value = "goods_evaluation_id", type = IdType.AUTO)
    private Integer goodsEvaluationId;

    /**
     * 商品详情id
     */
    @TableField("goods_item_id")
    private Integer goodsItemId;

    /**
     * 商品id
     */
    @TableField("goods_id")
    private Integer goodsId;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 评价时间
     */
    @TableField("evaluation_time")
    private String evaluationTime;

    /**
     * 评价内容
     */
    @TableField("evaluation_content")
    private String evaluationContent;

    /**
     * 评价图片（json数组）
     */
    @TableField("evaluation_img")
    private String evaluationImg;

    /**
     * 评分
     */
    @TableField("score")
    private Double score;


}
